package com.leadingsoft.pwxk.converter;

import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.TableResultConverter;
import com.leadingsoft.pwxk.dto.ManaRecordInfoDto;
import com.leadingsoft.pwxk.model.ManaRecordInfo;
/**
 * 
 * @author ysh
 *
 */
@Component
public class ManaRecordInfoTbaleConverter implements TableResultConverter<ManaRecordInfo, ManaRecordInfoDto>{
	
	@Override
	public ManaRecordInfoDto toTableResultDto(ManaRecordInfo model) {
		ManaRecordInfoDto dto = new ManaRecordInfoDto();
		dto.setDataId(model.getDataid());
		dto.setFacilname(model.getFacilname());
		dto.setHandleparamname(model.getHandleparamname());
		dto.setOthercontent(model.getOthercontent());
		dto.setRecordcontents(model.getRecordcontents());
		dto.setRecordformname(model.getRecordformname());
		dto.setRecordfreq(model.getRecordfreq());
		return dto;
	}

}
